<%@page import="com.mmy.domain.line.TLinePlan"%>
<%@page import="com.mmy.domain.line.VLinePlan"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>
<script type="text/javascript" src="js/jsp/back/surroud/plan.js"></script>
<title>近郊游计划信息</title>
</head>
<body>
	<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
			<main class="at-padding-large-bottom">
			<article>		
	<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
		<div class="page-header container">
			<h2>近郊游计划信息</h2>			
		</div>
	</header>
	<section class="container">
			<nav class="breadcrumb" >
			<a href="surroudingtourismindex">近郊游基本信息</a> / 
			<a href="surroudingplan"  >近郊游计划单</a>/ 
				<hr class="breadcrumb-hr" color=#F9F6E5 SIZE=3></hr>
			</nav>
				<div class="information" >
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i><label>近郊游计划单信息管理</label>
						</h4>
						<div class="input-container">
							<div class="select-condition">
							<input id="PlanLineName" style="display:none" value="${LineID}"/>
							<div class="at-float-right">
							<input type="button" class="btn" value="新建" onclick="location.href='/mmy/tocreatesurroudingplan'"/>
							<input type="button" class="btn" value="修改"  onclick="updateLinePlan()"/>
							<input type="button" class="btn"  value="删除" onclick="delLinePlanBatch()"/>
							</div>
							
								</div>
				
				<div class="tableheight"><table class="info-table" id="dg"></table></div>
				<script>
					$(function(){
						var data = $("#dg").children().children('tr').length;
						if(data == 1){
							layer.msg('计划列表为空，去创建一个计划吧...');  
							setTimeout("jump()","3000");
						}
					});
					
					function jump(){
						location.href = "tocreatesurroudingplan?LineID=";
					}
				</script>
				</div>
			</div>
			</section>
			</article>
			</main>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
		</div>	
	<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
</body>
</html>